package org.dolphin.base.jsontools;

import org.dolphin.base.jsontools.JsonConverter;

public class JSONExchangeData {
	int code;
	String ver="1.0";
	String messages="";
	String Datas;
	
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMessages() {
		return messages;
	}
	public void setMessages(String messages) {
		this.messages = messages;
	}
	public String getDatas() {
		return Datas;
	}
	public void setDatas(String datas) {
		this.Datas = datas;
	}
	public String getVer() {
		return ver;
	}
	public void setVer(String ver) {
		this.ver = ver;
	}
	
	public String toJsonstring() {
		return JsonConverter.getJSONObjectFromObject(this).toString();
	}

}
